home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Graphics / Plotting / aa_Intel_Only / Gnuplot / GnuplotSource / PopUpScrollView.h < prev    next >
Encoding:
Text File  |  1995-06-12  |  889 b   |  36 lines

  1. /*
  2.  *  Copyright (C) 1993  Robert Davis
  3.  *
  4.  *  This program is free software; you can redistribute it and/or
  5.  *  modify it under the terms of Version 2, or any later version, of 
  6.  *  the GNU General Public License as published by the Free Software 
  7.  *  Foundation.
  8.  */
  9.  
  10. /* $Id: PopUpScrollView.h,v 1.3 1993/05/04 16:22:35 davis Exp $ */
  11.  
  12. #import <appkit/ScrollView.h>
  13.  
  14. @interface PopUpScrollView:ScrollView
  15. {
  16.     id        popUpButton;
  17.     float    oldTag;
  18. }
  19.  
  20.  
  21. - initFrame:(const NXRect *)frameRect;    /* Overridden from View        */
  22. - free;
  23.  
  24. - tile;                /* Overridden from ScrollView        */
  25.  
  26. - update;            /* Make sure scale matches popup button    */
  27.  
  28. - changeScale:sender;        /* Target/Action            */
  29.  
  30. - changeScaleTo: (float)scaleFactor;    /* 1.00 == 100%            */
  31. - setCurrentTag:(int)aTag;    /* Returns nil if no tag aTag        */
  32. - (int)currentTag;        /* Returns tag of current button shown    */
  33.                 /* by popuplist                */
  34.  
  35. @end
  36.